package com.dinian.demeter.mapper;

import com.dinian.demeter.domain.User;
import org.apache.ibatis.annotations.Param;


public interface UserMapper {

    int insertUser(User user);

    User queryUserByUsername(@Param("username") String username);

    User queryUserById(Long id);

    void updateUser(User user);

    void deleteUserByIds(Long[] ids);

}
